<?php

namespace app\user\controller;
use app\user\middleware\Jwt;

class Base extends \app\BaseController
{
    protected $middleware = [Jwt::class];
    //分页参数
    protected string $page;
    protected int $pageSize;
    // 初始化操作
    public function initialize()
    {
        $this->page = $this->request->get('current') ?? 1;
        $this->pageSize = $this->request->get('size') ?? 10;
    }
}